package com.esd.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.esd.common.pojo.R;
import com.esd.device.entity.Gateway;
import org.quartz.SchedulerException;

import java.util.Map;

public interface GatewayService extends IService<Gateway> {
    R deleteGateway(Integer gatewayId) throws SchedulerException;

    R updateGateway(Gateway gateway) throws SchedulerException;

    R findPage(Map<String, Object> params);

    R addGateway(Gateway gateway) throws SchedulerException;

    R checkGatewayConnection(String lineName);

}
